/* eslint-disable */
import echartsOneOption from './echartsOneOption'
import echartsTwoOption from './echartsTwoOption'
import echartsThreeOption from './echartsThreeOption'
import echartsFourOption from './echartsFourOption'

export default {
  data() {
    return {
    }
  },
  mounted() {
    this.drawChart()
  },
  methods: {
    // 绘制图表
    drawChart(){
      // 图表1
      let echartsOne = this.$echarts.init(document.getElementById('echartsOne'))
      echartsOne.setOption(echartsOneOption())

      // 图表2
      let echartsTwo = this.$echarts.init(document.getElementById('echartsTwo'))
      echartsTwo.setOption(echartsTwoOption())

      // 图表3
      let echartsThree = this.$echarts.init(document.getElementById('echartsThree'))
      echartsThree.setOption(echartsThreeOption())

      // 图表4
      let echartsFour = this.$echarts.init(document.getElementById('echartsFour'))
      echartsFour.setOption(echartsFourOption())
    }
  }
}